<html>
	<head>
<script type="text/javascript" src="jquery-1.6.4.js"></script>
<script type="text/javascript">
//1.选择元素
$(document).ready({
	alert($('#testDiv1').attr('id'));
});
</script>
	</head>
	
	<body>
		<div id="textDiv"></div>
	</body>
</html>
